package com.lijian.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("t_menu")
public class Menu {

    @TableId(type = IdType.AUTO)
    private Integer id;

    //菜名
    private String name;

    //价格
    private Double price;

    //口味
    private String flavor;

    //
    @TableField(value = "tid")
    private Integer typeId;

    //菜类型
    @TableField(exist = false)
    private Type type;
    // @sukai-cheng在此处修改
    // private String type;
}
